package com.sifeng.springcloud;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloControler {

	@Autowired
    SchedualServiceHi schedualServiceHi;
	
    @RequestMapping(value = "/hello")
    public String hi(){
        return schedualServiceHi.sayHiFromClientOne();
    }


}